package com.springboot.springautowired.circularReference.singletonModel;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 单例模式下的循环依赖
 * @author mac
 * @date 2021/9/15 10:20 上午
 */
@Service
public class TestService2 {
    @Autowired
    private TestService1 testService1;

    public void test2(){
        testService1.test1();
    }
}
